package com.stx.dongtaiProxy;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

public class GamePlayIH implements InvocationHandler {
    // 被代理者
    Class cls = null;
    // 被代理实例
    Object obj = null;

    public GamePlayIH(Object _obj) {
        this.obj = _obj;
    }

    @Override
    public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
        Object reuslt = method.invoke(this.obj, args);
        return reuslt;
    }
}
